package com.hjduan.spring.cloud.request.service.impl;

import com.hjduan.spring.cloud.request.service.City;
import com.hjduan.spring.cloud.request.service.FeignService;
import org.springframework.stereotype.Component;

/**
 * Created by zhangheng on 2017/9/22.
 */
@Component
public class FeignServiceImpl implements FeignService {

    @Override
    public City getCityService(Integer id) {
        City city = new City();
        city.setName("异常");
        city.setState("500");

        return city;
    }
}
